package com.gxa.mapper;

import com.gxa.pojo.Goods_Save;
import com.gxa.pojo.Purchase;
import com.gxa.pojo.Receipt_Purchase;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


@Mapper
public interface PurchaseMapper {
    Integer inerstReceiptPurchase(Receipt_Purchase receipt_Purchase);
    Integer inerstPurchase(List<Purchase> list);
    Integer auditReceiptPurchase(Map map);
    Goods_Save queryGoodsSave(long warehouse_Id, String goods_Id);
    Integer updateGoodsSave(long warehouse_id, String goods_id, long purchase_number, long goods_save_num);
    Integer insertGoodsSave(long warehouse_id, String goods_id, long purchase_number);


}
